#案例：发送不带任何参数的POST/DELETE/PUT请求！
#需求：DELETE http://127.0.0.1:8000/api/departments/T04/

import requests

#方法1
# r=requests.delete(url="http://127.0.0.1:8000/api/departments/T04/")

#方法2
r=requests.request(method="DELETE",url="http://127.0.0.1:8000/api/departments/T100/")


